package com.kh.rationaldrugreview.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Prescription {
    
    private Long prescriptionId;
    
    private String prescriptionNumber;
    
    private Long patientId;
    
    private String doctorName;
    
    private String doctorCode;
    
    private String department;
    
    private String diagnosis;
    
    private LocalDateTime prescriptionDate;
    
    private String prescriptionType;
    
    private String status;
    
    private String remarks;
    
    private Boolean isReviewed;
    
    private String reviewStatus;
    
    private String reviewComments;
    
    private String reviewedBy;
    
    private LocalDateTime reviewedAt;
    
    private Boolean isActive;
    
    private LocalDateTime createdAt;
    
    private LocalDateTime updatedAt;
    
    private String createdBy;
    
    private String updatedBy;
    
    private Patient patient;
    
    private List<PrescriptionItem> prescriptionItems;
}